import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/common.css';
import './assets/css/index.css';
import './assets/css/login.css';


// 引入axios
import axios from 'axios';
// 挂载到Vue原型链上，全局Vue组件都可以调用$http方法
Vue.prototype.$http = axios;
// 发送请求的默认前缀地址，可省略，自动补充
axios.defaults.baseURL = "http://localhost:8081/";

Vue.config.productionTip = false
Vue.use(Element);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
